﻿@using Orchard.Utility.Extensions
@using Orchard.Workflows.Helpers
@{
    var name = (string)Model.Name;
    var outcomes = ((string)Model.State.Actions).FormatOutcomesJson();
}

<div class="event activity-@name.HtmlClassify()" title="@Model.Description" data-outcomes="@outcomes">
    <div>@name.CamelFriendly()</div>
</div>